export const wsql = `
  fragment AskOpenAIInfo on AskOpenAIType { 
    assistantId
    threadId
    userQuery
    functionName 
    taskUuid   
    currentRunId
  }
  query askOpenAi(
    $assistantType: String!,
    $assistantId: String!,
    $instructions: String,
    $attachments: [JSON],
    $toolResources: JSON,
    $threadMetadata: JSON,
    $messageMetadata: JSON,
    $userQuery: String!,
    $updatedBy: String!,
    $threadId: String
  ) {
    askOpenAi(
      assistantType: $assistantType,
      assistantId: $assistantId,
      instructions: $instructions,
      attachments: $attachments,
      toolResources: $toolResources,
      threadMetadata: $threadMetadata,
      messageMetadata: $messageMetadata,
      userQuery: $userQuery,
      updatedBy: $updatedBy,
      threadId: $threadId
    ) {
      ...AskOpenAIInfo
    }
  }
`;

export const pingql = `
  query ping {
    ping
  }
`;